/**
 * OverView: 模板测试脚本
 * Author: Zhaomi
 * Date: 13-6-5 下午2:25
 * Email: yanyuetian@gmail.com
 * Create By JetBrains WebStorm.
 */

var Template = require("../libs/casebox/tpl-extend.js");

var bodyPush = function (doc) {
    var body = doc.getElementsByTagName("body")[0];
    return function (html) {
        body.innerHTML += html;
    };
}(document);

bodyPush(Template("test", "test {content}")({content: '<br/>TooBug Mine'}));
bodyPush(Template("{include ./atest.html atest}")({content: 'TooBug Mine'}));
/*bodyPush(Template.render("gate", {content: 'TooBug Mine'}));*/
